package com.tanhua.sso.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Document(collection = "voice")
public class Voice implements Serializable {
    private static final long serialVersionUID = -3136732836884933873L;

    private ObjectId id; //主键id
    private Long created; //创建时间
    private Long userId;   //发送者id
    private String videoUrl; //音频文件，URL
    private Integer seeType=0;  //0,未接受,1,已被接收   语音是否被接收
}
